home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-04-02 | 725 b | 22 lines | [TEXT/KAHL] |
- /* CImagePane.c */
-
- #include "CImagePane.h"
- #include "CWindow.h"
-
-
- void CImagePane::IImagePane(LongPoint Start, LongPoint Extent, CWindow* TheWindow,
- CEnclosure* TheEnclosure, short ThePictID)
- {
- PictID = ThePictID;
- IViewRect(Start,Extent,TheWindow,TheEnclosure);
- }
-
-
- void CImagePane::DoUpdate(void)
- {
- PicHandle Image;
-
- SetUpPort();
- ERROR(ResLoad == 0,PRERR(ForceAbort,"Automatic resource loading is disabled."));
- Image = (PicHandle)GetResource('PICT',PictID);
- ERROR(Image==NIL,PRERR(Forc